﻿Imports System.Windows.Forms
Imports System.Drawing

Public Class AntialiasedLabel : Inherits Label


    'Public BackgroundColor As Color = Color.Blue
    Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
        e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit
        MyBase.OnPaint(e)
    End Sub
End Class




